package org.codeart.status.example01;

public class Client {

    public static void main(String[] args) {
        Context context = new Context();
        State state1 = new ConcreteStateA();
        state1.handle(context);
        System.out.println(state1);

        System.out.println("========================");
        State state2 = new ConcreteStateB();
        state2.handle(context);
        System.out.println(state2);
    }

}
